<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="../common/tag.jsp"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>热门文章</title>
<meta name="Keywords"
	content="软件开发、编程、程序员、码伦">
<meta name="description" content="Java、C、C++、软件开发、编程、程序员、.NET">
<%@ include file="../common/common.jsp"%>
</head>
<body>
	<div class="index-top">
		<div class="index-top-left">
			<a href="public/index" style="color: #00BC3E;">返回首页</a>
		</div>
		<!-- 顶部 -->
		<div class="index-top-right">
			<c:choose>
					<c:when test="${user ==null || user.username.matches('_[0-9]+')}">
						<span style="color: #20C0FC;" id="no-login">你还未登录</span>
						<a href="javascript:void(0);" onclick="javascript:$.util.login();" 	target="_self" id="lj-login">,立即登录</a>&nbsp;
						<a href="public/user/register" style="color: #FF7A32;" id="free-login">免费注册</a>&nbsp;
					</c:when>
					<c:otherwise>
						<span style="color: #0099FF;">欢迎你,${user.chName }</span>&nbsp;&nbsp;
						<a href="user/index" target="_black" title="个人中心">个人中心</a>
					</c:otherwise>
			</c:choose>
			&nbsp; <a href="" id="jrsc" target="_blank">一键分享</a>
			&nbsp; <a href="javascript:$.util.alert('等待开发中...');">安卓版下载</a>
		</div>
	</div>
	<div class="yc_container" style="text-align: center;height: 500px;">
		<div>
				<div style="float: left;width: 600px;margin-left:200px;margin-right: 200px;margin-top:40px;height: 120px;">
					<img alt="" style="width: 199px;height: 80px;margin-left: 100px;" src="images/reading-study.png" />
				</div>
				<div style="float: left;width: 800px;height: 200px;margin-left:150px;margin-right: 200px;vertical-align: middle;text-align: center;">
					<div class="s-center-search-input">
							<input type="text" name="searchText" id="searchText"  placeholder="请输入搜索的内容">
					</div>
					<div class="s-center-search-btn">
							<button id="search-query-btn">搜&nbsp;&nbsp;索</button>
					</div>
				</div>
		</div>
     </div>
	<jsp:include page="/public/bottom.jsp"></jsp:include>
</body>
</html>
